import { Divider } from 'antd';

import PropsComp from './props';
import RefComp from './ref';
import ContextComp from './context';
import EventBusComp from './eventBus';

function Events() {
  return (
    <div>
      <p> === 组件通信 === </p>
      <PropsComp></PropsComp>
      <Divider />
      <RefComp />
      <Divider />
      <ContextComp />
      <Divider />
      <EventBusComp />
      <Divider />
    </div>
  );
}

export default Events;
